package com.jcfk.eam.domain.po.base;

import com.baomidou.mybatisplus.annotation.Version;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jcfk.common.business.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 自定义值
 *
 * @author awei
 * @email 522891237@gqq.com
 * @date 2024-08-14
 */
@Data
@TableName("eam_custom_data")
public class EamCustomData extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 字段说明
     */
    @TableField("custom_id")
    private String customId;

    /**
     * 设备关联id
     */
    @TableField("relation_id")
    private String relationId;

    /**
     * 资产大类
     */
    @TableField("asset_kind")
    private Integer assetKind;

    /**
     * 值
     */
    @TableField("custom_data")
    private String customData;

    /**
     * 是否停用
     */
    @TableField("enabled")
    private Integer enabled;

    /**
     * 是否删除
     */
    @TableField("deleted")
    private Integer deleted;

    /**
     * 创建人名
     */
    @TableField("created_user_name")
    private String createdUserName;

    /**
     * 更新人名
     */
    @TableField("last_updated_user_name")
    private String lastUpdatedUserName;

    @Version
    @TableField(value = "version")
    private Long version;
}
